
import React, { Component } from 'react';
import { Link } from 'react-router-dom';


class Header extends Component {
  render() {
    return (
      <div>
        <h1>to-do</h1>
        <ul>
          <li><Link to="/todo/UncompleteTask">未完成任务</Link></li>
          <li><Link to="/todo/CompleteTask">已完成任务</Link></li>
        </ul>

      </div>
    );
  }
}

export default Header;
 